package org.zhigong.service;

import org.zhigong.entity.Zhiwei;

import java.util.List;

public interface ZhiweiService {

    /**
     * 获取职位list
     * @return
     */
    List<Zhiwei> getZhiweiList(Zhiwei zhiwei);

    /**
     * 获取全部职位list
     * @return
     */
    List<Zhiwei> getZhiweiListAll();

    /**
     * 根据职位编号查找职位
     * @param zwbh
     * @return
     */
    Zhiwei getZhiweiByZwbh(int zwbh);

    /**
     * 新增职位
     * @param zhiwei
     * @return
     */
    Boolean addZhiwei(Zhiwei zhiwei);

    /**
     * 更新职位
     * @param zhiwei
     * @return
     */
    Boolean updateZhiwei(Zhiwei zhiwei);

    /**
     * 删除职位
     * @param zwbh
     * @return
     */
    Boolean deleteZhiwei(int zwbh);

}
